export default {   // 用来设置 state
    login(state, v) {
        state.userInfo = v
        localStorage.setItem('userInfo',JSON.stringify(state.userInfo));
    },

}
